﻿using NCP.Infrastructure.Common.Specification;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCP.Recruiting.Domain.Aggregates.ShortMessages
{
   public class ShortMessageSpecifications
    {
       public static Specification<ShortMessage> GetShortMessagesByCompany(Guid companyId)
       {
           return new DirectSpecification<ShortMessage>(x => x.CompanyId.Equals(companyId));
       }
    }
}
